@charset "utf-8";

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: 'Source Sans Pro' '微软雅黑';
}

::selection {
  background-color: #5ebacd;
  color: #ffffff;
}

.app-navbar {
  width: 100%;
  padding-bottom: 20px;
  a {
    color: #666666;
    text-decoration: none;
  }
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .logo {
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 26px;
    a {
      color: #4b4b4b;
    }
  }

  .nav {
    overflow: hidden;
    zoom: 1;
    li {
      float: left;
      a {
        display: block;
        padding: 20px 46px;
        position: relative;
        &:after {
          content: ' ';
          position: absolute;
          height: 24px;
          width: 1px;
          background-color: #dfdfdf;
          right: 0;
        }
      }
      &.active, &:last-child {
        a:after {
          display: none;
        }
      }
      &.active {
        background-color: #4d91a1;
        border-radius: 0 0 20px 20px;
        a {
          color: #ffffff;
        }
      }
      &:hover {
        &.active {
          a {
            color: #ffffff;
          }
        }
        a {
          color: #8ba9b4;
        }
      }
    }
  }
}

.app-banner {
  width: 100%;
  background-image: image-url('banner.jpg');
  background-size: cover;
  background-position: 50% 67%;
  position: relative;
  &:before {
    content: ' ';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #4d91a1;
    position: absolute;
    opacity: .75;
  }
  .info {
    padding: 76px 0;
    h2, h4 {
      font-weight: 100;
      color: #e8f6f9;
    }
    h2 {
      text-align: center;
      font-size: 45px;
      margin-bottom: 10px;
    }
    h4 {
      text-align: right;
      font-size: 14px;
    }
  }
}

.app-content {
  margin: 8px 0;
}

.app-sidebar {
  background-color: #4b5051;
  padding: 0 0 120px 0!important;
  border-bottom: solid 6px #434647;
  a {
    text-decoration: none;
  }
  .side-top-btns {
    margin: 20px 0;
    padding: 0 15px !important;
    a {
      color: #f37a5d;
      &:hover {
        color: #ff845f;
      }
    }
    i {
      margin-right: 4px;
      &:before {
        font-size: 18px;
      }
    }
  }
  .side-group {
    margin-bottom: 30px;
    font-size: 14px;
    .title {
      background-color: #3b4041;
      color: #848e92;
      padding: 14px 0;
    }
    .content {
      padding-top: 15px;
      color: #dfdfdf;
      line-height: 21px;
    }
    .list {
      list-style: none;
      margin: 0;
      li {
        padding: 14px 0;
        border-bottom: solid 1px #515657;
        a {
          display: block;
          color: #c1c1c1;
        }
        &:hover {
          a {
            color: #a1a1a1;
          }
        }
      }
    }
    .list, .content, .title {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }
  }
}

.app-middle-bar {
  background-color: #f9836b;
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
  }
  .nav {
    li {
      float: left;
      margin: 16px 14px;
      a {
        display: block;
        padding: 12px;
      }
      &:hover, &.active {
        a {
          background-color: #f16645;
          border-radius: 10px;
        }
      }
    }
  }
}

.pagination {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  li {
    display: inline-block;
    background-color: #266072;
    border-radius: 10px;
    height: 16px;
    width: 16px;
    margin: 0 10px;
    &.current, &:hover {
      background-color: #50b0c3;
    }
  }
  a {
    height: 100%;
    display: block;

  }
}

@media handheld, only screen and (max-width: 768px) {
  .app-navbar {
    .nav {
      li {
        a {
          padding: 10px 26px;
        }
      }
      li.active {
        border-radius: 10px;
      }
    }
  }
}